<?php

require_once dirname(__FILE__) . '/../_data/LzSqlTest.php';

$sql    = new LzTestClass('LzSqlTest');
LzTests::ln(
        $sql->parseVal(NULL),
        $sql->parseVal(false),
        $sql->parseVal(true),
        $sql->parseVal(0),
        $sql->parseVal(5),
        $sql->parseVal(0.5),
        $sql->parseVal(array('a', 'b')),
        $sql->parseVal(''),
        $sql->parseVal('foo'),
        $sql->parseVal(LzSql::field('hello'))
    );
var_dump($sql->data());

?>
---EXPECT---
:BIND0
:BIND1
:BIND2
:BIND3
:BIND4
:BIND5
:BIND6
:BIND7
:BIND8
|hello|
array(9) {
  ["BIND0"]=>
  NULL
  ["BIND1"]=>
  bool(false)
  ["BIND2"]=>
  bool(true)
  ["BIND3"]=>
  int(0)
  ["BIND4"]=>
  int(5)
  ["BIND5"]=>
  float(0.5)
  ["BIND6"]=>
  array(2) {
    [0]=>
    string(1) "a"
    [1]=>
    string(1) "b"
  }
  ["BIND7"]=>
  string(0) ""
  ["BIND8"]=>
  string(3) "foo"
}

